Search
Utilities.NearestPoint Method
See Also
 






Returns the element from the specified point array nearest to the specified point.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static Point NearestPoint (
    Point point,
    Point[] points
)

Visual Basic  Copy Code

Public Shared Function NearestPoint( _
    point As Point, _
    points() As Point _
) As Point

 Parameters

point

A Point instance.

points

An array for whose members to find the minimum distance to the specified point.

 Return Value

The array member nearest to the specified point.

 See Also